home *** CD-ROM | disk | FTP | other *** search
- Path: ip-pdx09-31.teleport.com!user
- From: peteski@teleport.com (Peter Miller)
- Newsgroups: comp.lang.c,comp.lang.c,moderated
- Subject: Re: Symantec C++ 7.0.6 for the Mac (using Thick C enabled feature)
- Date: Thu, 21 Mar 1996 22:32:12 -0700
- Organization: Teleport - Portland's Public Access (503) 220-1016
- Message-ID: <peteski-2103962232120001@ip-pdx09-31.teleport.com>
- References: <315041F4.4AC2@uthscsa.edu>
- NNTP-Posting-Host: ip-pdx09-31.teleport.com
-
- In article <315041F4.4AC2@uthscsa.edu>, Merardo Monzon
- <Monzon@uthscsa.edu> wrote:
-
- > I've declared a global character type variable as follows:
- >
- > char tHd[] = {
- > "<FONT SIZE=3><CENTER>\n<DL>\n \
- .
- .
- .
- > </DL></Center></Font>\n<br><pre>"
- > };
- > The entire string is NOT stored by the char array tHd. The string is
- > truncated after 479 bytes. Why? Is this particular to Symantec C++
- > 7.0.6 (with this product one can select the compiler to use C or C++).
- >
- > Please respond directly to my e-mail address.
- > There must be someone using this product on the Mac.
- >
- > Merardo Monzon
- > Monzon@uthscsa.edu
- > UT Health Science Center At San Antonio, Tx
-
-
-
- Assuming you are not missing any proper backslashes and quotes, then it is
- likely that the compiler may have a built in limit to the maximum size of
- constant strings. Try the alternate, pointer form:
- char *tHdl = "xxxxxx";
- and see what happens.
- Check the documentation for a section concerning compiler limits.
-
- Peter
-